package com.wntms.wy.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/*CREATE TABLE `customer_recevie` (
        `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'crid',
        `fid` varchar(50) NOT NULL COMMENT '货运合同表id',
        `fsid` int(11) NOT NULL COMMENT '货物状体表id',
        `notice_content` varchar(50) DEFAULT NULL COMMENT '通知内容',
        `notice_time` datetime DEFAULT NULL COMMENT '通知时间',
        `issuccuss` tinyint(1) DEFAULT NULL COMMENT '是否成功',
        `notifier` varchar(20) DEFAULT NULL COMMENT '通知人',
        PRIMARY KEY (`id`,`fid`,`fsid`)
        ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='回告表'*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CustomerRecevie {
    private Integer id;
    private String fid;
    private Integer fsid;
    private String notice_content;
    //@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date notice_time;
    private Integer issuccuss;
    private String notifier;

}
